package com.czwj.entities;

import java.util.Date;
import java.util.List;

public class UserInfo{
	private Integer id;
	
	private String username;
	
	private String password;
	
	private boolean setpwd;
	
	private String sex;
	
	private Integer companyid;
	
	private Integer departmentid;
	
	private String name;
	
	private Integer levelid;
	
	private Integer roleid;
	
	private String jobno;
	
	private String idcard;
	
	private String mobile;
	
	private Integer createrid;
	
	private Date createdate;
	
	private String createip;
	
	private List<Project> projects;
	
	private Integer status;
	
	private Role role;
	
	private Level level;
	
	private Company company;
	
	private Department department;
	
	private String openid;
	
	/**
	 * 创建一个新的实例 UserInfo.
	 *
	 */
	public UserInfo(){
		super();
		// TODO Auto-generated constructor stub
	}
	
	/**
	 * 创建一个新的实例 UserInfo.
	 *
	 * @param name2
	 * @param jobno2
	 * @param idcard2
	 * @param sex2
	 * @param mobile2
	 * @param companyid2
	 * @param departmentid2
	 * @param i 
	 * @param date 
	 * @param createip2 
	 * @param createrid2 
	 */
	public UserInfo(String name2,String jobno2,String idcard2,String sex2,String mobile2,Integer companyid2,
			Integer departmentid2, Integer createrid2, String createip2, Date date, int i){
		// TODO Auto-generated constructor stub
		super();
		this.sex = sex2;
		this.companyid = companyid2;
		this.departmentid = departmentid2;
		this.name = name2;
		this.jobno = jobno2;
		this.idcard = idcard2;
		this.mobile = mobile2;
		this.createrid = createrid2;
		this.createip = createip2;
		this.createdate = date;
		this.status = i;
	}
	
	public String getIdcard(){
		return idcard;
	}
	
	public void setIdcard(String idcard){
		this.idcard = idcard;
	}
	
	public Integer getDepartmentid(){
		return departmentid;
	}
	
	public void setDepartmentid(Integer departmentid){
		this.departmentid = departmentid;
	}
	
	public Department getDepartment(){
		return department;
	}
	
	public void setDepartment(Department department){
		this.department = department;
	}
	
	public Level getLevel(){
		return level;
	}
	
	public void setLevel(Level level){
		this.level = level;
	}
	
	public Integer getLevelid(){
		return levelid;
	}
	
	public void setLevelid(Integer levelid){
		this.levelid = levelid;
	}
	
	public String getOpenid(){
		return openid;
	}
	
	public void setOpenid(String openid){
		this.openid = openid;
	}
	
	public Company getCompany(){
		return company;
	}
	
	public void setCompany(Company company){
		this.company = company;
	}
	
	public String getMobile(){
		return mobile;
	}
	
	public void setMobile(String mobile){
		this.mobile = mobile;
	}
	
	public Role getRole(){
		return role;
	}
	
	public boolean isSetpwd(){
		return setpwd;
	}
	
	public void setSetpwd(boolean setpwd){
		this.setpwd = setpwd;
	}
	
	public void setRole(Role role){
		this.role = role;
	}
	
	public Integer getStatus(){
		return status;
	}
	
	public void setStatus(Integer status){
		this.status = status;
	}
	
	public Integer getId(){
		return id;
	}
	
	public void setId(Integer id){
		this.id = id;
	}
	
	public String getUsername(){
		return username;
	}
	
	public void setUsername(String username){
		this.username = username;
	}
	
	public String getPassword(){
		return password;
	}
	
	public void setPassword(String password){
		this.password = password;
	}
	
	public String getSex(){
		return sex;
	}
	
	public void setSex(String sex){
		this.sex = sex;
	}
	
	public Integer getCompanyid(){
		return companyid;
	}
	
	public void setCompanyid(Integer companyid){
		this.companyid = companyid;
	}
	
	public String getName(){
		return name;
	}
	
	public void setName(String name){
		this.name = name;
	}
	
	public Integer getRoleid(){
		return roleid;
	}
	
	public void setRoleid(Integer roleid){
		this.roleid = roleid;
	}
	
	public String getJobno(){
		return jobno;
	}
	
	public void setJobno(String jobno){
		this.jobno = jobno;
	}
	
	public Integer getCreaterid(){
		return createrid;
	}
	
	public void setCreaterid(Integer createrid){
		this.createrid = createrid;
	}
	
	public Date getCreatedate(){
		return createdate;
	}
	
	public void setCreatedate(Date createdate){
		this.createdate = createdate;
	}
	
	public String getCreateip(){
		return createip;
	}
	
	public void setCreateip(String createip){
		this.createip = createip;
	}
	
	public List<Project> getProjects(){
		return projects;
	}
	
	public void setProjects(List<Project> projects){
		this.projects = projects;
	}
}
